/*
 * 
 *
 * 
 */
package com.hboxs.asl.dao;

import com.hboxs.asl.Page;
import com.hboxs.asl.Pageable;
import com.hboxs.asl.entity.Category;
import com.hboxs.asl.entity.Essay;
import com.hboxs.asl.entity.Member;

/**
* Dao - 文章
*/
public interface EssayDao extends BaseDao<Essay, Long> {

    Page<Essay> findPageByCategory(Pageable pageable, Member teacher, Category category);

    Page<Essay> findPageByTeacher(Pageable pageable, Member teacher);

    Page<Essay> findPageByCategory(Pageable pageable, Category category);

}
